<div class="HTML5DnD_Dropbox" id="HTML5Dropbox{{object_data.ctype}}{{object_data.object_pk}}">
  <div class="HTML5DnD_ProgressBar">
      <div class="HTML5DnD_ProgressText"></div>
      <div class="HTML5DnD_ProgressBorder"><div class="HTML5DnD_Progress"></div></div>
  </div>
  <div class="HTML5DnD_Fallback">
    <form action="{{ file_data.target }}" method="post" enctype="multipart/form-data" >{% csrf_token %}{{ file_data.data }}
      {% if next %}<div><input type="hidden" name="next" value="{{ next }}" /></div>{% endif %}
      {% for field in form.hidden_fields %}{{field}}{% endfor %}
      <span style="display:none;">{{form.honeypot}}</span>
      {{form.file}}
      <p class="submit">
        <button type="submit" name="post" class="button SaveButton submit-post" value="Upload">Upload</button>
      </p>
    </form>
  </div>
</div>
<script type="text/javascript">
(function() {
    if (typeof document.createElement('input').multiple !== "undefined") {
      file_input = document.getElementById('file');
      if (file_input)
      {
        file_input.multiple = true;
        file_input.name = file_input.name + '[]';
      }
    }
})();
function getUploadURL()
  {
    return "{{ file_data.target }}"
  };
</script>